
package <%=packageName%>;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

import jaux.tank.admin.AdminApplication;

@SpringBootApplication(scanBasePackages = { "<%=packageName%>" })
@EnableJpaRepositories
@EnableScheduling //开启定时任务
@EntityScan(basePackages = { "<%=packageName%>.entity" })

public class <%=pascalCase(name)%>Application extends AdminApplication{
  public static void main(String[] args) {
    SpringApplication.run(<%=pascalCase(name)%>Application.class, args);
  }

}